package pers.vinsonws.jianghu.serverspring.service;

import pers.vinsonws.jianghu.serverspring.entity.ApplyChatRooms;

import java.util.Set;

/**
 * @auther vinsonws
 * @date 2018/11/6 22:06
 */
public interface ApplyChatRoomService {
    boolean saveApplyRequest(ApplyChatRooms applyChatRooms);
    Set<ApplyChatRooms> getApplyByUserId(int userId);
    Set<ApplyChatRooms> getApplyByChatRoomId(int chatRoomId);
    boolean operateApply(int chatRoomId, int userId, boolean pass);
}
